<?php


namespace app\api\controller\manystore;


class Notice extends Base
{
    // 无需登录的接口,*表示全部
    protected $noNeedLogin = ['*'];
    // 无需鉴权的接口,*表示全部
    protected $noNeedRight = ['*'];

    public function list()
    {
        $model = new \app\common\model\manystore\Notice();
        $list = $model->order('id desc')->select();
        $this->success('返回成功', $list);
    }
}